package com.zyh.A;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        System.out.println("请依次输入三个整数:");
        Scanner sc = new Scanner(System.in);
        int num1 = sc.nextInt();
        int num2 = sc.nextInt();
        int num3 = sc.nextInt();
        if (num1 < num2) {
            if (num1 < num3) {
                System.out.println("min:" + num1);
            } else {
                System.out.println("min:" + num3);
            }
        } else {
            if (num2 < num3) {
                System.out.println("min:" + num2);
            } else {
                System.out.println("min:" + num3);
            }
        }

    }
}
